package com.tdcoding.chat.entities;

import io.protostuff.Tag;

public class FileInfo extends BaseInfo {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	@Tag(value=7)
	private long fileSize;
	@Tag(value=8)
	private long fileDate; // 文件创建时间
	@Tag(value=9)
	private long breakPoint;// 上传/下载断点
	@Tag(value=10)
	private int imgWidth;
	@Tag(value=11)
	private int imgHeight;
	@Tag(value=12)
	private String fileName; // 文件名
	@Tag(value=13)
	private String FilePath;
	@Tag(value=14)
	private String downloadLink; // 下载链接

	public long getFileSize() {
		return fileSize;
	}

	public void setFileSize(long fileSize) {
		this.fileSize = fileSize;
	}

	public long getFileDate() {
		return fileDate;
	}

	public void setFileDate(long fileDate) {
		this.fileDate = fileDate;
	}

	public long getBreakPoint() {
		return breakPoint;
	}

	public void setBreakPoint(long breakPoint) {
		this.breakPoint = breakPoint;
	}

	public int getImgWidth() {
		return imgWidth;
	}

	public void setImgWidth(int imgWidth) {
		this.imgWidth = imgWidth;
	}

	public int getImgHeight() {
		return imgHeight;
	}

	public void setImgHeight(int imgHeight) {
		this.imgHeight = imgHeight;
	}

	public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	public String getFilePath() {
		return FilePath;
	}

	public void setFilePath(String filePath) {
		FilePath = filePath;
	}

	public String getDownloadLink() {
		return downloadLink;
	}

	public void setDownloadLink(String downloadLink) {
		this.downloadLink = downloadLink;
	}

	@Override
	public String toString() {
		return "FileInfo [fileSize=" + fileSize + ", fileDate=" + fileDate + ", breakPoint=" + breakPoint
				+ ", imgWidth=" + imgWidth + ", imgHeight=" + imgHeight + ", fileName=" + fileName + ", FilePath="
				+ FilePath + ", downloadLink=" + downloadLink + "]";
	}

}